package com.qianfeng.service.Impl;

import com.qianfeng.entity.SubjectType;
import com.qianfeng.entity.WorkType;
import com.qianfeng.mapper.SubjectTypeMapper;
import com.qianfeng.service.SubjectTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Service
public class SubjectTypeServiceImpl implements SubjectTypeService {
    @Autowired
    private SubjectTypeMapper subjectTypeMapper;
    @Transactional(readOnly = true)
    @Override
    public List<SubjectType> getWorkTypeList() {
        return subjectTypeMapper.getSubjectTypeList();
    }
}
